<?php

/**
* Top Sentence Class
* To show layout title and sentence on top of layout
* @author trungdt
* @version 1.0
* @copyright ABSoft Viet Nam
*/

class topsentencemodule {
	function name()		{ return "Top Sentence"; }
	function author()		{ return "ABSoft Viet Nam"; }
	function description()	{ return "Show layout title and top sentence"; }

	function hasContent() { return true; }
	function hasSources() { return true; }
	function hasViews()   { return true; }
	
	function supportsWorkflow() { return true; }

	function deleteIn($loc) {
		
	}
	
	function copyContent($oloc,$nloc) {
	}

	function permissions($internal = '') {
		return array(
			'administrate'=>"Administrate",
			'edit'=>"Edit",
			'delete'=>"Delete"
		);
	}

	function show($view,$loc,$title = '') {
		return "";
	}
	
	function spiderContent($item=null) {
		return false;
		
	}
	
	function searchName() {
	    return false;
	}
}

?>
